package com.example.oauth2authserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.oauth2authserver.model.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色服务类
 */
public interface IRoleService extends IService<Role> {

    List<Role> findRolesByUserId(Integer userId);
}
